<?php

namespace common\models\RegionManagerInfo;

use Yii;

/**
 * This is the model class for table "region_manager_info".
 *
 * @property string $id
 * @property string $uid
 * @property string $ali_account
 * @property string $name
 * @property string $rev_price_image
 */
class RegionManagerInfoBase extends \common\models\CommonModel\CommonModel
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'region_manager_info';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['uid', 'ali_account'], 'required'],
            [['uid'], 'integer'],
            [['ali_account', 'name'], 'string', 'max' => 50],
            [['rev_price_image'], 'string', 'max' => 255],
            [['uid'], 'unique'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'ali_account' => 'Ali Account',
            'name' => 'Name',
            'rev_price_image' => 'Rev Price Image',
        ];
    }
}
